package com.lp.zyll.security;

import org.springframework.security.core.GrantedAuthority;

/**
 * @author lipeng
 * @version 1.0.0
 * @email lpden@sina.com
 * @Description TODO
 * @createTime 2020年11月26日 16:26:00
 */
public class GrantedAuthorityImpl implements GrantedAuthority {

    private String authority;

    public GrantedAuthorityImpl(String authority) {
        this.authority = authority;
    }

    @Override
    public String getAuthority() {
        return this.authority;
    }
}
